#!/bin/sh
~/nexus-3.43.0-01/bin/nexus start || exit
mkdir -p /run/nginx
if [ ! -f "/run/nginx/nginx.pid" ]; then
    nginx
fi

until curl -I localhost:8081 2>/dev/nul
do
    printf .
	sleep 1
done
